#include <cstdio>
#include <cmath>

const int PI = 3.141592653;
const int E  = 2.718281828;
double GaussianWeight (int x, int y, double sigama = 1.5) {
	double sigama2 = sigama * sigama;
	return 1.0/(2 * PI * sigama2) * pow(E, -(x*x + y*y) / (2 * sigama2));
}
int main () {
	
	for (int i = -4; i <= 4; i ++) {
		for (int j = -4; j <= 4; j ++) {
			printf ("%.8lf ", GaussianWeight (i, j));
		}
		printf ("\n");
	}
	return 0;
}